package com.zhuiyun.project.cyclingapplet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author guojingzhi
 * @since 2024-07-16
 */
@TableName("activity_registration")
public class ActivityRegistration implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报名id（张傲博）
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动id
     */
    private Integer activityId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 报名时间
     */
    private LocalDateTime registrationTime;

    /**
     * 取消报名时间
     */
    private LocalDateTime registrationTimeCancel;

    /**
     * 是否取消报名
     */
    private String registrationCancel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public LocalDateTime getRegistrationTime() {
        return registrationTime;
    }

    public void setRegistrationTime(LocalDateTime registrationTime) {
        this.registrationTime = registrationTime;
    }

    public LocalDateTime getRegistrationTimeCancel() {
        return registrationTimeCancel;
    }

    public void setRegistrationTimeCancel(LocalDateTime registrationTimeCancel) {
        this.registrationTimeCancel = registrationTimeCancel;
    }

    public String getRegistrationCancel() {
        return registrationCancel;
    }

    public void setRegistrationCancel(String registrationCancel) {
        this.registrationCancel = registrationCancel;
    }

    @Override
    public String toString() {
        return "ActivityRegistration{" +
        "id = " + id +
        ", activityId = " + activityId +
        ", userId = " + userId +
        ", registrationTime = " + registrationTime +
        ", registrationTimeCancel = " + registrationTimeCancel +
        ", registrationCancel = " + registrationCancel +
        "}";
    }
}
